package com.bookhouse.service.impl;

import com.bookhouse.dao.BaseDao;
import com.bookhouse.dao.RecordDao;
import com.bookhouse.entity.Record;
import com.bookhouse.service.RecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by CiusCheung on 16/4/22.
 */
@Service("recordService")
public class RecordServiceImpl extends BaseServiceImpl<Record> implements RecordService {
    @Resource(name = "recordDao")
    private RecordDao recordDao;

    @Override
    protected BaseDao<Record> getDao() {
        return this.recordDao;
    }
}
